//
//  WFCustomizeCandidateMenuSearchView.h
//  WeiFang
//
//  Created by WeiFang Team on 2022.
//  Copyright © 2022 WeiFang Team. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WFCustomizeCandidateMenuSearchView;

@protocol WFCustomizeCandidateMenuSearchViewDelegate <NSObject>

- (void)customizeCandidateMenuSearchView:(WFCustomizeCandidateMenuSearchView *)searchView buttonAction:(id)sender;

@end

@interface WFCustomizeCandidateMenuSearchView : UIView <UITextFieldDelegate>

@property (nonatomic,weak) id<WFCustomizeCandidateMenuSearchViewDelegate> delegate;
@property (weak, nonatomic) IBOutlet UITextField *myTextField;
@property (weak, nonatomic) IBOutlet UIButton *searchButton;

- (void)setData:(id)data delegate:(id)delegate;

+ (id)instanceView;

@end


@interface WFCustomizeCandidateMenuSearchViewModel : NSObject

@property (nonatomic,assign) BOOL isEdit;

+ (WFCustomizeCandidateMenuSearchViewModel *)ittemModelWithIsEdit:(BOOL)isEdit;

@end
